//
//  NRWCarPublicNoticeCell.m
//  New_Runway
//
//  Created by mack on 2018/1/24.
//  Copyright © 2018年 NelsonJ. All rights reserved.
//

#import "NRWCarPublicNoticeCell.h"
@interface NRWCarPublicNoticeCell ()
@property (weak, nonatomic) IBOutlet UILabel *noticeL;
@property (weak, nonatomic) IBOutlet UILabel *topline;

@end
@implementation NRWCarPublicNoticeCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.noticeL.textColor = MAIN_FONT_COLOR();
    self.topline.backgroundColor = UIColorHex(0xf5f5f5);
    
}
- (void)setNotieModel:(NRWCarHomeNoticeModel *)notieModel{
    NSLog(@"%@",notieModel.noticeTitle);
    _notieModel = notieModel;
    if (notieModel.noticeTitle) {
        self.noticeL.text = notieModel.noticeTitle;

    }else{
       self.noticeL.text = @"暂无公告";
    }
    
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
